home *** CD-ROM | disk | FTP | other *** search
/ SGI Enlighten DSM 3.1 / SGI EnlightenDSM 3.1.iso / DEC3240 / COMMON.Z / COMMON / config / cmds next >
Text File  |  1999-04-16  |  9KB  |  247 lines

  1. #
  2. # Copyright (c) 1990-1999 Enlighten Software Solutions, Inc.
  3. #                      -- All Rights Reserved --
  4. #
  5.  
  6. #
  7. # Commands for DEC OSF/1
  8. #
  9.  
  10. AT                /usr/bin/at
  11. BANNER            /usr/bin/banner
  12. ACCEPT            /usr/lib/accept %
  13. ALLPRINTERS       grep '|' /etc/printcap | cut -d'|' -f1
  14. ALLPRINTCLASS     grep '|' /etc/printcap | cut -d'|' -f2 | tr ':\\' '  '
  15. ATTPS             /usr/bin/ps
  16. # ATTPSEF           /usr/bin/ps -ef | $ENLIGHTEN/bin/e_col \
  17. #                   0:8L8 8:6r6 14:7r7 21:3R3 24:9R9 8:1l1 33:7L11 40:0-0
  18. ATTPSEF           /usr/bin/ps xgww -o user,pid,ppid,pcpu,start,tty,time,command \
  19.                   | $ENLIGHTEN/bin/e_col \
  20.                   0:8L8 8:6r7 14:7r7 21:4R4 25:9R9 34:8r8 46:0-0
  21. UCBPSAUX          /usr/bin/ps aux
  22. CAT               /usr/bin/cat '%'
  23. DFTFIX            /usr/bin/df -i
  24. DISABLE           /usr/sbin/lpc down '%'
  25. ENABLE            /usr/sbin/lpc up '%'
  26. FILETYPE          /usr/bin/file '%'
  27. FSCK              /usr/sbin/fsck %
  28. DUS               /usr/bin/du -k -s % | /usr/bin/awk ' { print $$1 } '
  29. FUSER             $ENLIGHTEN/bin/fuser % 2> /dev/null | \
  30.                   /usr/bin/tr ' ' '\\012' | /usr/bin/sort -u
  31.  
  32. GETMODELS         /usr/bin/ls %
  33. #LPADMIN           /usr/sbin/lprsetup
  34. LPADMIN           /usr/sbin/lpc %
  35. LPSCHED           /usr/sbin/lpc start all
  36. LPSHUT            /usr/sbin/lpc stop all
  37. LPSTATA           /usr/bin/lpstat -a
  38. LPSTATC           /usr/bin/lpstat -c
  39. LPSTATD           /usr/bin/lpstat -d
  40. LPSTATO           /usr/bin/lpstat -o
  41. LPSTATP           /usr/bin/lpstat -p
  42. LPSTATR           /usr/bin/lpstat -r
  43. LPSTATT           /usr/bin/lpstat -t
  44. LPSTATV           /usr/bin/lpstat -v
  45. LPQ               /usr/ucb/lpq -P%
  46. LPCSTATUS         /usr/etc/lpc status all
  47. MAIL              /usr/bin/mail %
  48. MKDIR             /usr/bin/mkdir %
  49. MKNOD             /usr/sbin/mknod %
  50. NEWALIASES        /usr/sbin/newaliases
  51. PACK              /usr/bin/pack
  52. RMFR              /usr/bin/rm -fr "%"
  53. RMALL             /usr/bin/rm -fr
  54. RUPTIME           /usr/bin/ruptime -a
  55. RWHOA             /usr/bin/rwho -a
  56. SHELL             /usr/bin/sh
  57. MOUNT             /usr/sbin/mount %
  58. UCBWHO            /usr/bin/who
  59. WHO               /usr/bin/who -a|grep -E "console|tty"|grep -Ev "LOGIN|id="|tr -d +
  60. WHOU              $ENLIGHTEN/bin/whou
  61.  
  62. ERASE             $ENLIGHTEN/bin/erase -v %
  63.  
  64. RETENSION         /usr/bin/mt -f % ret
  65.  
  66. GETBOOTCMDS       /usr/bin/ls /sbin/rc*.d/* | /usr/bin/tr ' ' '\\012'
  67. BOOTFILTER        /usr/bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
  68.                   /usr/bin/sort -u
  69.  
  70. GETCRONCMDS       /usr/bin/ls /var/spool/cron/crontabs/* | \
  71.                   /usr/bin/tr ' ' '\\012' 
  72.  
  73. CRONFILTER        /usr/bin/egrep -v "^\#" % | \
  74.                   /usr/bin/awk ' { for (i = 6; i <= NF; i++) \
  75.                   printf ("\%s ", $$i); printf ("\\n"); } ' | \
  76.                   $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | /usr/bin/sort -u
  77.  
  78. # Command to determine if the autologout daemon gets started in an "rc" file.
  79. FINDALDCMD        /usr/bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
  80.                   /usr/bin/fgrep ulogout | /usr/bin/wc -l
  81.  
  82. # Command to determine if the diskusage watchdog gets started in an "rc" file.
  83. FINDDWDCMD        /usr/bin/cat % | $ENLIGHTEN/bin/shpp | \
  84.                   $ENLIGHTEN/bin/shcmd | \
  85.                   /usr/bin/fgrep bin/watchdisk | /usr/bin/wc -l
  86.  
  87. # Command to determine if the network watchdog gets started in an "rc" file.
  88. FINDNETDWDCMD     /usr/bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
  89.                   /usr/bin/fgrep bin/netwatchdisk | /usr/bin/wc -l
  90.  
  91. ENLCANCEL         /usr/bin/cancel %
  92. DFT               $ENLIGHTEN/bin/dft
  93. EPOOL             $ENLIGHTEN/bin/e_pool
  94. LPMOVE            $ENLIGHTEN/bin/p_lpmove %
  95. MOTNOTICE         "$ENLIGHTEN/bin/xdonotice -label \"ENLIGHTEN utar\" \
  96.                   -m1 \"Please mount new Volume\""
  97. NETUTAR           $ENLIGHTEN/bin/netutar
  98. HEXED             $ENLIGHTEN/bin/hexed '%'
  99. MYA2PS            $ENLIGHTEN/bin/psgen -l2
  100. SNAPDIFF          $ENLIGHTEN/bin/p_snapdiff %
  101. SWAP              $ENLIGHTEN/bin/p_swap OSF1
  102. ULOGOUT           $ENLIGHTEN/bin/ulogout %
  103.  
  104. ADDUSERCMD        /usr/bin/sh $ENLIGHTEN/scripts/adduser.rc
  105. MODUSERCMD        /usr/bin/sh $ENLIGHTEN/scripts/moduser.rc
  106. DELUSERCMD        /usr/bin/sh $ENLIGHTEN/scripts/deluser.rc
  107. DELHOMECMD        /usr/bin/sh $ENLIGHTEN/scripts/delhome.rc
  108.  
  109. PPING             $ENLIGHTEN/bin/p_ping -s
  110. REMLP             $ENLIGHTEN/bin/remlp
  111. RFDIST            $ENLIGHTEN/bin/rfdist
  112. SECVITAL          $ENLIGHTEN/bin/secvital
  113. SECDEVICE         $ENLIGHTEN/bin/secdevice
  114. SECPASSWD         $ENLIGHTEN/bin/sectcbpasswd
  115. SECGROUP          $ENLIGHTEN/bin/secgroup
  116. SECHOME           $ENLIGHTEN/bin/sechome
  117. SECBOOT           $ENLIGHTEN/bin/secboot
  118. SECCRON           $ENLIGHTEN/bin/seccron
  119. SECBREAKIN        $ENLIGHTEN/bin/secbreakin
  120. WATCHDISK         $ENLIGHTEN/bin/watchdisk % &
  121. NETWATCHDISK      $ENLIGHTEN/bin/netwatchdisk % &
  122. XWATCHDOG         $ENLIGHTEN/bin/xwatchdog -iconic % &
  123. P_WIZPRINTER      $ENLIGHTEN/bin/p_wizprinter %
  124. P_WIZDISK         $ENLIGHTEN/bin/p_wizdisk %
  125. P_WIZUSER         $ENLIGHTEN/bin/p_wizuser %
  126. P_VULNERABLE      $ENLIGHTEN/bin/p_vulnerable %
  127. E_FINDKEY         $ENLIGHTEN/bin/e_findkey %
  128. E_NIPMASTER       $ENLIGHTEN/bin/e_nipmaster
  129. P_ALLDISKS        $ENLIGHTEN/bin/p_alldisks
  130. P_PARTITIONS      $ENLIGHTEN/bin/p_partition %
  131. P_MAKEDEV         $ENLIGHTEN/bin/p_makedev OSF1 %
  132. P_FORMAT          $ENLIGHTEN/bin/p_format  OSF1 %
  133. P_NEWPARTS        $ENLIGHTEN/bin/p_newparts %
  134. P_HASFS           $ENLIGHTEN/bin/p_hasfs %
  135.  
  136. MKPASSWD         /usr/sbin/mkpasswd
  137. E_TCBSTATUS       $ENLIGHTEN/bin/e_tcbstatus
  138.  
  139. SH               /usr/bin/sh
  140. RSH              /usr/bin/Rsh
  141. CSH              /usr/bin/csh
  142. KSH              /usr/bin/ksh
  143. RKSH             /usr/bin/ksh -r
  144. TCSH             /usr/bin/tcsh
  145.  
  146. REMCP             /usr/bin/rcp
  147. REMSH             /usr/bin/rsh
  148. RSHCMD            /usr/bin/rsh -l enlcmd %
  149. RLOGIN            /usr/bin/rlogin -l enlcmd %
  150. NETCAT            $ENLIGHTEN/bin/p_write
  151. TALK              /usr/bin/talk %
  152.  
  153.  
  154. WINDOWACCESS      /usr/bin/X11/xwininfo -root
  155.  
  156. ENLWINDOW         /usr/bin/X11/xterm -e sh -c 'trap exit 1 2 3 4; \
  157.                   stty sane; clear; % ; echo ; \
  158.                   echo \"Hit Enter/Return to continue\\c\"; \
  159.                   read ans; rm -f %; exit' &
  160.  
  161. FORWINDOW         /usr/bin/X11/xterm -e sh -c 'stty sane; clear; % ; echo ; \
  162.                   echo \"Hit Enter/Return to continue \\c\"; \
  163.                   read ans; exit'
  164.  
  165. BACKWINDOW        /usr/bin/X11/xterm -e sh -c 'stty sane; clear; % ; echo ; \
  166.                   echo \"Hit Enter/Return to continue \\c\"; \
  167.                   read ans; exit' &
  168.  
  169. YPCAT             /usr/bin/ypcat %
  170. YPMAKE            (cd /var/yp; make)
  171. YPPASSWDD         /usr/sbin/rpc.yppasswdd
  172.  
  173. TAPEDEVS          /usr/bin/ls -1 /dev/rmt*
  174. CRONTAB           /usr/bin/crontab %
  175.  
  176. XMKDIR            /usr/bin/mkdir -p
  177. DOMAINNAME        /usr/bin/domainname
  178. UNAME             /usr/bin/uname -a
  179. NODENAME          /usr/bin/uname -n
  180. IFCONFIG          /usr/sbin/ifconfig
  181. #LANSCAN           /usr/sbin/ifconfig -a
  182. LANSCAN           /usr/sbin/netstat -i | /bin/cut -f1 -d' ' | /usr/bin/sort -u
  183.  
  184. YPWHICH           /usr/bin/ypwhich
  185. #SET_HOSTNAME      /usr/bin/uname -S 
  186. SET_HOSTNAME      /usr/bin/hostname
  187.  
  188. MAKE_CMD     /sbin/make
  189. MKDIR         /usr/bin/mkdir -p
  190. KILL         /usr/bin/kill
  191. XYPCAT           /usr/bin/ypcat 
  192. YPBIND          /usr/sbin/ypbind
  193. YPSERV          /usr/sbin/ypserv
  194. YPWHICH      /usr/bin/ypwhich
  195.  
  196. SET_NISMASTER    $ENLIGHTEN/bin/set_nis_master
  197. SET_NISSLAVE     $ENLIGHTEN/bin/set_nis_slave
  198. SET_NISCLIENT    $ENLIGHTEN/bin/set_nis_client
  199. DEL_NIS_CONF     $ENLIGHTEN/bin/del_nis_conf
  200. NIS_SCRIPT       /sbin/init.d/nis
  201. RCMGR            /usr/sbin/rcmgr
  202. SVCSETUP         /usr/sbin/svcsetup
  203.  
  204. #YPINIT          /usr/sbin/ypinit
  205.  
  206. MAKEDBM      /usr/var/yp/makedbm
  207. PS_CMD          /usr/bin/ps xgww -o user,pid,ppid,pcpu,start,tty,time,command
  208. NAMED          /sbin/named
  209.  
  210. # NFS
  211.  
  212. MOUNTP         /usr/sbin/mount -e
  213. MOUNTNFS     $ENLIGHTEN/bin/e_timeout 180 /usr/sbin/mount %
  214. UMOUNT         /usr/sbin/umount %
  215. EXPORTFS     /usr/bin/showmount -e > /dev/null
  216. SHAREFS     /usr/sbin/exportfs
  217. UNEXPORTFS     /usr/bin/showmount -e > /dev/null
  218. MOUNTD        /usr/sbin/mountd
  219. NFSD        /usr/sbin/nfsd
  220.  
  221. XLPADMIN        /usr/sbin/lprsetup
  222. LPSTAT          /usr/bin/lpstat -t
  223. #LPSTAT          /usr/sbin/lpc status | awk '$1~/:/ || $1=="printing" \
  224. #                {if($2!="is")printf("%s ",$1);if($2=="is")print $3}'
  225. LPCANCEL        /usr/bin/cancel
  226. STARTLPD        rm -f /dev/printer; /usr/lbin/lpd
  227. LPD             /usr/lbin/lpd
  228.  
  229. # clock set/clock sync
  230. SETTIME         $ENLIGHTEN/bin/settime
  231.  
  232. RENLD        $ENLIGHTEN/bin/renld
  233. RENLDC        $ENLIGHTEN/bin/renldc
  234.  
  235. REBOOT          /usr/sbin/reboot
  236. SHUTDOWN        /usr/sbin/shutdown
  237. RWALL           /usr/bin/rwall
  238. XCRONTAB        /usr/bin/crontab 
  239.  
  240. WALL            /usr/sbin/wall
  241. P_SHUTDOWN      $ENLIGHTEN/bin/p_shutdown %
  242. STATUSMAP       $ENLIGHTEN/bin/sm -p % -x
  243. TELNET          /usr/bin/telnet %
  244.  
  245. LPRCMD          /usr/bin/lpr
  246. XENLNALIVE    $ENLIGHTEN/bin/xenln_alive
  247.